﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace ServicosUteis
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Matematica" in code, svc and config file together.
    // NOTE: In order to launch WCF Test Client for testing this service, please select Matematica.svc or Matematica.svc.cs at the Solution Explorer and start debugging.
    public class Matematica : IMatematica
    {
        public int Somar(int n1, int n2)   
        {
            return n1 + n2;
        }




        public int Subtrair(int n1, int n2)
        {
            return n1 - n2;
        }
    }
}
